package com.design.behavior.template.cainiao;

/**
 * @ProjectName: design
 * @Package: com.design.behavior.template.cainiao
 * @ClassName: Cricket
 * @Author: shenaiguo
 * @Description:
 * @Date: 2020/9/22 0022 23:22
 */
// 步骤2
public class Cricket extends Game{
    @Override
    void endPlay() {
        System.out.println("Cricket Game Finished!");
    }

    @Override
    void initialize() {
        System.out.println("Cricket Game Initialized! Start playing.");
    }

    @Override
    void startPlay() {
        System.out.println("Cricket Game Started. Enjoy the game!");
    }
}
